package com.mianshi;

import com.example.myproject.domain.User;

public class RefrenceTest {
    public static void main(String[] args) {
        User user = new User();
        System.out.println("f1:"+user);
        User user1 = user;
        user = null;
        System.out.println("user1的地址会变吗=="+user1 +",is null=="+(user1 == null));
    }



}
